package jsu.weizixuan.likesystem.mapper;

import jsu.weizixuan.likesystem.model.pojo.Blog;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

/**
* @author 魏子轩
* @description 针对表【blog】的数据库操作Mapper
* @createDate 2025-09-19 20:48:50
* @Entity jsu.weizixuan.likesystem.pojo.Blog
*/
@Mapper
public interface BlogMapper extends BaseMapper<Blog> {
    /**
     * 批量更新点赞数
     * @param countMap
     */
    void batchUpdateThumbCount(@Param("countMap") Map<Long, Long> countMap);
}




